import '../usecase/home_usecase.dart';
import '../usecase/usecase.dart';
import '../presenter/home_presenter.dart';
import '../repository/novel_repository.dart';
import '../controller/controller.dart';

abstract class HomeController implements Controller {
  final HomePresenter presenter;
  final NovelRepository _novelRepository;

  HomeController(this.presenter, this._novelRepository);

  Future<void> init() =>
      HomeInitUseCase(presenter, _novelRepository)(NoParams());
}
